package com.jinmdz.fmis.dao.model.wake;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.core.constant.EDictCode;

import java.util.Date;

/**
 * 礼厅逝者信息
 *
 * @author LiCongLu
 * @date 2020-03-08 19:04
 */
public class WakeMournDeadItem extends BaseBean {

    /**
     * 礼厅设备主键
     */
    private Integer hallId;

    /**
     * 业务主键
     */
    private Integer businessId;

    /**
     * 预约入厅时间
     */
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date appointmentInTime;

    /**
     * 预约出厅时间
     */
    @JsonFormat(pattern = yyyy_MM_dd_HH_mm)
    private Date appointmentOutTime;

    /**
     * 流程状态
     */
    private Integer processStateCode;

    /**
     * 流程状态
     */
    @AnDict(dict = EDictCode.HALL_STATUS, ref = "processStateCode")
    private String processState;

    /**
     * 业务编码
     */
    private String businessCode;

    /**
     * 逝者姓名
     */
    private String deadName;

    /**
     * 家属姓名
     */
    private String memberName;

    public Integer getHallId() {
        return hallId;
    }

    public WakeMournDeadItem setHallId(Integer hallId) {
        this.hallId = hallId;
        return this;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public WakeMournDeadItem setBusinessId(Integer businessId) {
        this.businessId = businessId;
        return this;
    }

    public Date getAppointmentInTime() {
        return appointmentInTime;
    }

    public WakeMournDeadItem setAppointmentInTime(Date appointmentInTime) {
        this.appointmentInTime = appointmentInTime;
        return this;
    }

    public Date getAppointmentOutTime() {
        return appointmentOutTime;
    }

    public WakeMournDeadItem setAppointmentOutTime(Date appointmentOutTime) {
        this.appointmentOutTime = appointmentOutTime;
        return this;
    }

    public Integer getProcessStateCode() {
        return processStateCode;
    }

    public WakeMournDeadItem setProcessStateCode(Integer processStateCode) {
        this.processStateCode = processStateCode;
        return this;
    }

    public String getProcessState() {
        return processState;
    }

    public WakeMournDeadItem setProcessState(String processState) {
        this.processState = processState;
        return this;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public WakeMournDeadItem setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public WakeMournDeadItem setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public String getMemberName() {
        return memberName;
    }

    public WakeMournDeadItem setMemberName(String memberName) {
        this.memberName = memberName;
        return this;
    }
}
